import { IsDefined, IsOptional, IsString } from 'class-validator';

export class ConnectIntegrationDto {
    @IsString()
    @IsDefined()
    state: string;

    @IsString()
    @IsDefined()
    code: string;

    @IsString()
    @IsOptional()
    refresh?: string;
}